NumberDigit
NumberDigit[x,n] returns the digit corresponding to 10n in the real-valued number x.
NumberDigit[x,n,b] returns the digit corresponding to bn.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.